package com.tql.view.service.impl;

import com.github.pagehelper.PageHelper;
import com.tql.view.mapper.OrderssMapper;
import com.tql.view.pojo.Orderss;
import com.tql.view.service.OrderssService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderssServiceImpl implements OrderssService {
    @Autowired
    private OrderssMapper orderssMapper;
    @Override
    public List<Orderss> getAllOrder(Map<String,Object> params) {

        return orderssMapper.getAllOrder(params);
    }

    @Override
    public void insertOrderss(Map<String, Object> params) {
        orderssMapper.insertOrderss(params);
    }

    @Override
    public int getAllMoney() {
        return orderssMapper.getAllMoney();
    }
}
